﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Globalization;
using BlueLotus7.ArchiveSystem.Common;
using BlueLotus7.ArchiveSystem.Interfaces;
using BlueLotus7.ExternalApi.TencentStatusApi;

namespace BlueLotus7.ArchiveSystem
{
    public class TencentStatusMonitorTask : StatusMonitorTask
    {
        protected override int RetrieveStatus()
        {
            QQStatus status = TencentStatusRetriver.RetrieveQQStatusByUid(this.ThirdPartyIdentity);
            return (int)status;
        }

        public TencentStatusMonitorTask(Guid domainScopeUserKey, string thirdPartyIdentity, StatusMonitor monitor, int interval)
            : base(domainScopeUserKey, thirdPartyIdentity, monitor, interval)
        {
        }
    }
}
